local key = KEYS[1]
local noteId = ARGV[1]
local timetamp = ARGV[2]
local expireTime = ARGV[3]

redis.call("ZADD", key, timetamp, noteId)
redis.call("EXPIRE", key, expireTime)
return 0
